#define  _CRT_SECURE_NO_WARNINGS 1
#include"Queue.h"

void QueueTest()
{
	Queue pq;
	QueueInit(&pq);
	QueuePush(&pq, 1);
	QueuePop(&pq);
	QueuePush(&pq, 2);
	QueuePush(&pq, 3);
	QueuePop(&pq);
	QueuePush(&pq, 4);
	QueuePush(&pq, 5);
	QueuePush(&pq, 6);

	while (!QueueEmpty(&pq))
	{
		printf("%d ", QueueFront(&pq));
		QueuePop(&pq);
	}
	printf("\n");
	QueueDestory(&pq);
	
}
int main()
{
	QueueTest();
	return 0;
}